package ewms.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import ewms.bo.EwmsOutWarehouseQueryBo;
import ewms.domain.EwmsOutWarehouse;
import ewms.vo.EwmsOutWarehouseVo;
import ewms.common.core.mybatisplus.MybatisPlusRedisCache;
import ewms.common.core.page.BaseMapperPlus;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 危废出库Mapper接口
 *
 * @author zhaoxiaochun
 * @date 2022-02-16
 */
@CacheNamespace(implementation = MybatisPlusRedisCache.class, eviction = MybatisPlusRedisCache.class)
public interface EwmsOutWarehouseMapper extends BaseMapperPlus<EwmsOutWarehouse> {

	/**
	 * 查询危废待出库列表
	 *
	 * @param page         分页信息
	 * @param outWarehouseQueryBo
	 * @return
	 */
	Page<EwmsOutWarehouseVo> selectPagePreOutWarehouseList(@Param("page") Page<EwmsOutWarehouseVo> page, @Param("outWarehouse") EwmsOutWarehouseQueryBo outWarehouseQueryBo);

	/**
	 * 查询危废待出库列表
	 *
	 * @param outWarehouseQueryBo
	 * @return
	 */
	public List<EwmsOutWarehouseVo> selectPreOutWarehouseList(EwmsOutWarehouseQueryBo outWarehouseQueryBo);

	/**
	 * 查询危废出库列表
	 *
	 * @param page         分页信息
	 * @param outWarehouseQueryBo
	 * @return
	 */
	Page<EwmsOutWarehouseVo> selectPageOutWarehouseList(@Param("page") Page<EwmsOutWarehouseVo> page, @Param("outWarehouse") EwmsOutWarehouseQueryBo outWarehouseQueryBo);

	/**
	 * 查询危废出库列表
	 *
	 * @param outWarehouseQueryBo
	 * @return
	 */
	public List<EwmsOutWarehouseVo> selectOutWarehouseList(EwmsOutWarehouseQueryBo outWarehouseQueryBo);
}
